package com.wlh.demo01;

public class Demo04 {
    public static void main(String[] args) {
        //线程新建状态
        MyThread myThread1 = new MyThread("我的线程1");
        MyThread myThread2 = new MyThread("我的线程2");
        //开启新线程,让线程进入就绪状态
        myThread1.run();
        myThread2.run();
    }
}
